home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1012 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Spool File Problem under NT
  5. Date: Wed, 10 Jan 96 17:53:26 GMT
  6. Organization: none
  7. Message-ID: <821296406snz@genesis.demon.co.uk>
  8. References: <4d0qv4$mhl@xenon.xe.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4d0qv4$mhl@xenon.xe.com> m@labelview.com "Marty_e34_535i" writes:
  15.  
  16. >Gentlemen,
  17. >
  18. >My 16-bit application fails when running under Windows NT 
  19. >in two places, both of which involve trying to send a file
  20. >to a COM port.
  21. >
  22. >1.  SpoolFile() returns 0, instead of a handle.  This return
  23. >    code is not documented.  SpoolFile() works fine under 
  24. >    Windows 3.11, and under Windows 95, I had to swap the 
  25. >    first two parameters to get it to work.  I've tried 
  26. >    swapping and unswapping and neither work.
  27.  
  28. SpoolFile() is not defined by the C language so as far as comp.lang.c
  29. is concerned it can do anything it likes. Try a Windoes/NT related nwsgroup.
  30.  
  31. >2.  OpenComm() returns IE_MEMORY (-4), which means "the
  32. >    function cannot allocate the queue".
  33.  
  34. Similarly.
  35.  
  36. -- 
  37. -----------------------------------------
  38. Lawrence Kirby | fred@genesis.demon.co.uk
  39. Wilts, England | 70734.126@compuserve.com
  40. -----------------------------------------
  41.